a = 0

while a < 5:
    print a
    a += 1

for a in range(5):
    print a

for a in range(0, 5):
    print a

for a in range(0, 5, 1):
    print a


